import { createSSRApp } from 'vue';
import App from './App.vue';
import { createPinia } from 'pinia';
import uView from 'uview-plus';

export function createApp() {
    const app = createSSRApp(App);
    const store = createPinia();

    app.use(store).use(uView);

    return {
        app,
    };
}
